<!--
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->




<div class="container">
  <div *ngIf="errorMessage" class="alert alert-danger" role="alert">
    <strong>Error:</strong> {{errorMessage}}
  </div>

  <div class="row">
    <div class="col-md-9">
      <h1 class="participant-title" id='participantName'>인증요청 리스트</h1>
    </div>
    <div class="col-md-3">
  
    </div>
  </div>
  <br>
  <div class="row">
    <div class="col-md-12">
      <table class="table table-responsive">
        <thead class="thead">
          <tr class="thead-cols">

            <th class="info">대상자ID</th>


            <th class="info">상세내용</th>


            <th class="info">이력ID</th>


            <th class="info-actions">Actions</th>

          </tr>
        </thead>
        <tbody>

          <tr *ngFor="let asset of myRequestResumeList">

              
            <td  class="asset-properties">{{asset.userId}}</td>

            <td  class="asset-properties">{{asset.requestDetails}}</td>

            <td  class="asset-properties">{{asset.requestResumeAssetId}}</td>

            <td>
              <form>

                <div>
                  <button (click)="updateAuthentication(asset.userId, asset.requestDetails, asset.requestResumeAssetId, '인증완료' );" type="submit">승인</button>
                  <button (click)="updateAuthentication(asset.userId, asset.requestDetails, asset.requestResumeAssetId, '인증거부' );" type="submit">거부</button>
                </div>
              </form>
            </td>
            
       
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</div>